#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <src/mask_detection/mask_detection.h>
#include <src/capture/capture.h>
#include <src/capture/capture_thread.h>
#include <src/get_temperature/get_temperature.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void set_qpixmap(QPixmap &qmap);
public slots:
    void update_img(QImage src_img);
    QImage detection_mask(QImage src_img);
private:
    Ui::MainWindow *ui;
    class mask_detection *p_mask_detection;
    capture_thread *p_cap_thread;
    double temp_object;
    double temp_ambient;

};

#endif // MAINWINDOW_H
